/**
 * output package name
 */
package com.kingdee.eas.custom.hr.assessment.base.app;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SuitablePeriodEnum extends StringEnum
{
    public static final String MONTH_VALUE = "1";
    public static final String FIRSTHALFYEAR_VALUE = "2";
    public static final String ALLYEAR_VALUE = "3";

    public static final SuitablePeriodEnum month = new SuitablePeriodEnum("month", MONTH_VALUE);
    public static final SuitablePeriodEnum FirstHalfYear = new SuitablePeriodEnum("FirstHalfYear", FIRSTHALFYEAR_VALUE);
    public static final SuitablePeriodEnum AllYear = new SuitablePeriodEnum("AllYear", ALLYEAR_VALUE);

    /**
     * construct function
     * @param String suitablePeriodEnum
     */
    private SuitablePeriodEnum(String name, String suitablePeriodEnum)
    {
        super(name, suitablePeriodEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SuitablePeriodEnum getEnum(String suitablePeriodEnum)
    {
        return (SuitablePeriodEnum)getEnum(SuitablePeriodEnum.class, suitablePeriodEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SuitablePeriodEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SuitablePeriodEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SuitablePeriodEnum.class);
    }
}